package com.gemme.gemme.view;

import java.util.List;

/**
 * @Author: yangcheng
 * @CreateDate: 2020/8/11 10:09
 */
public class TuijianBean {

    /**
     * code : 0
     * msg : null
     * data : {"records":[{"productCode":"5413216e-4acf-427d-8540-7917f0e7f746","productName":"紫苏水","brandId":1,"brandName":"DECORTE（黛珂）","oneCategoryId":56,"twoCategoryId":57,"supplierId":null,"productPrice":600,"productCost":null,"publishStatus":0,"productionDate":"2020-08-11 09:14:45","productValidity":"2020-08-11 09:14:45","productDesc":"1212","source":null,"remarks":null,"activityId":null,"productTax":null,"attributeSpecList":"[\n  {\n    \"propertyList\": [\n      {\n        \"attributeName\": \"净含量\",\n        \"attributeSpecName\": \"150ml\"\n      }\n    ],\n    \"stockNum\": \"100\",\n    \"attributeSpecPrice\": \"300\",\n    \"discountPrice\": \"0\",\n    \"attributeSpecImage\": \"https://gemme.oss-cn-hangzhou.aliyuncs.com/backstage/2020-08-08ffcb4659-f815-4a4e-8329-450d665eab2f_DECORTE2.jpg\",\n    \"uuid\": \"f319cd38-3cf2-8a79-eefa-65747aa9c0f1\",\n    \"productId\": 24\n  },\n  {\n    \"propertyList\": [\n      {\n        \"attributeName\": \"净含量\",\n        \"attributeSpecName\": \"300ml\"\n      }\n    ],\n    \"stockNum\": \"100\",\n    \"attributeSpecPrice\": \"650\",\n    \"discountPrice\": \"0\",\n    \"attributeSpecImage\": \"https://gemme.oss-cn-hangzhou.aliyuncs.com/backstage/2020-08-08fb46bcf5-a65c-47d2-85d0-b1a70c19c9c1_DECORTE3.jpg\",\n    \"uuid\": \"9ee0c18b-19c9-311f-67e1-71dc4976b30f\",\n    \"productId\": 24\n  }\n]","discountPrice":"0","attributeSpecPrice":"300"}],"total":1,"size":10,"current":1,"orders":[],"hitCount":false,"searchCount":true,"pages":1}
     */

    private int code;
    private Object msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getMsg() {
        return msg;
    }

    public void setMsg(Object msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * records : [{"productCode":"5413216e-4acf-427d-8540-7917f0e7f746","productName":"紫苏水","brandId":1,"brandName":"DECORTE（黛珂）","oneCategoryId":56,"twoCategoryId":57,"supplierId":null,"productPrice":600,"productCost":null,"publishStatus":0,"productionDate":"2020-08-11 09:14:45","productValidity":"2020-08-11 09:14:45","productDesc":"1212","source":null,"remarks":null,"activityId":null,"productTax":null,"attributeSpecList":"[\n  {\n    \"propertyList\": [\n      {\n        \"attributeName\": \"净含量\",\n        \"attributeSpecName\": \"150ml\"\n      }\n    ],\n    \"stockNum\": \"100\",\n    \"attributeSpecPrice\": \"300\",\n    \"discountPrice\": \"0\",\n    \"attributeSpecImage\": \"https://gemme.oss-cn-hangzhou.aliyuncs.com/backstage/2020-08-08ffcb4659-f815-4a4e-8329-450d665eab2f_DECORTE2.jpg\",\n    \"uuid\": \"f319cd38-3cf2-8a79-eefa-65747aa9c0f1\",\n    \"productId\": 24\n  },\n  {\n    \"propertyList\": [\n      {\n        \"attributeName\": \"净含量\",\n        \"attributeSpecName\": \"300ml\"\n      }\n    ],\n    \"stockNum\": \"100\",\n    \"attributeSpecPrice\": \"650\",\n    \"discountPrice\": \"0\",\n    \"attributeSpecImage\": \"https://gemme.oss-cn-hangzhou.aliyuncs.com/backstage/2020-08-08fb46bcf5-a65c-47d2-85d0-b1a70c19c9c1_DECORTE3.jpg\",\n    \"uuid\": \"9ee0c18b-19c9-311f-67e1-71dc4976b30f\",\n    \"productId\": 24\n  }\n]","discountPrice":"0","attributeSpecPrice":"300"}]
         * total : 1
         * size : 10
         * current : 1
         * orders : []
         * hitCount : false
         * searchCount : true
         * pages : 1
         */

        private int total;
        private int size;
        private int current;
        private boolean hitCount;
        private boolean searchCount;
        private int pages;
        private List<RecordsBean> records;
        private List<?> orders;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getCurrent() {
            return current;
        }

        public void setCurrent(int current) {
            this.current = current;
        }

        public boolean isHitCount() {
            return hitCount;
        }

        public void setHitCount(boolean hitCount) {
            this.hitCount = hitCount;
        }

        public boolean isSearchCount() {
            return searchCount;
        }

        public void setSearchCount(boolean searchCount) {
            this.searchCount = searchCount;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public List<RecordsBean> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsBean> records) {
            this.records = records;
        }

        public List<?> getOrders() {
            return orders;
        }

        public void setOrders(List<?> orders) {
            this.orders = orders;
        }

        public static class RecordsBean {
            /**
             * productCode : 5413216e-4acf-427d-8540-7917f0e7f746
             * productName : 紫苏水
             * brandId : 1
             * brandName : DECORTE（黛珂）
             * oneCategoryId : 56
             * twoCategoryId : 57
             * supplierId : null
             * productPrice : 600.0
             * productCost : null
             * publishStatus : 0
             * productionDate : 2020-08-11 09:14:45
             * productValidity : 2020-08-11 09:14:45
             * productDesc : 1212
             * source : null
             * remarks : null
             * activityId : null
             * productTax : null
             * attributeSpecList : [
             {
             "propertyList": [
             {
             "attributeName": "净含量",
             "attributeSpecName": "150ml"
             }
             ],
             "stockNum": "100",
             "attributeSpecPrice": "300",
             "discountPrice": "0",
             "attributeSpecImage": "https://gemme.oss-cn-hangzhou.aliyuncs.com/backstage/2020-08-08ffcb4659-f815-4a4e-8329-450d665eab2f_DECORTE2.jpg",
             "uuid": "f319cd38-3cf2-8a79-eefa-65747aa9c0f1",
             "productId": 24
             },
             {
             "propertyList": [
             {
             "attributeName": "净含量",
             "attributeSpecName": "300ml"
             }
             ],
             "stockNum": "100",
             "attributeSpecPrice": "650",
             "discountPrice": "0",
             "attributeSpecImage": "https://gemme.oss-cn-hangzhou.aliyuncs.com/backstage/2020-08-08fb46bcf5-a65c-47d2-85d0-b1a70c19c9c1_DECORTE3.jpg",
             "uuid": "9ee0c18b-19c9-311f-67e1-71dc4976b30f",
             "productId": 24
             }
             ]
             * discountPrice : 0
             * attributeSpecPrice : 300
             */

            private Long id;
            private String productCode;
            private String productName;
            private int brandId;
            private String brandName;
            private int oneCategoryId;
            private int twoCategoryId;
            private Object supplierId;
            private double productPrice;
            private Object productCost;
            private int publishStatus;
            private String productionDate;
            private String productValidity;
            private String productDesc;
            private Object source;
            private Object remarks;
            private Object activityId;
            private Object productTax;
            private String attributeSpecList;
            private String discountPrice;
            private String attributeSpecPrice;
            private String abbreviationPic;
            private String price;

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public Long getId() {
                return id;
            }

            public void setId(Long id) {
                this.id = id;
            }

            public String getAbbreviationPic() {
                return abbreviationPic;
            }

            public void setAbbreviationPic(String abbreviationPic) {
                this.abbreviationPic = abbreviationPic;
            }

            public String getProductCode() {
                return productCode;
            }

            public void setProductCode(String productCode) {
                this.productCode = productCode;
            }

            public String getProductName() {
                return productName;
            }

            public void setProductName(String productName) {
                this.productName = productName;
            }

            public int getBrandId() {
                return brandId;
            }

            public void setBrandId(int brandId) {
                this.brandId = brandId;
            }

            public String getBrandName() {
                return brandName;
            }

            public void setBrandName(String brandName) {
                this.brandName = brandName;
            }

            public int getOneCategoryId() {
                return oneCategoryId;
            }

            public void setOneCategoryId(int oneCategoryId) {
                this.oneCategoryId = oneCategoryId;
            }

            public int getTwoCategoryId() {
                return twoCategoryId;
            }

            public void setTwoCategoryId(int twoCategoryId) {
                this.twoCategoryId = twoCategoryId;
            }

            public Object getSupplierId() {
                return supplierId;
            }

            public void setSupplierId(Object supplierId) {
                this.supplierId = supplierId;
            }

            public double getProductPrice() {
                return productPrice;
            }

            public void setProductPrice(double productPrice) {
                this.productPrice = productPrice;
            }

            public Object getProductCost() {
                return productCost;
            }

            public void setProductCost(Object productCost) {
                this.productCost = productCost;
            }

            public int getPublishStatus() {
                return publishStatus;
            }

            public void setPublishStatus(int publishStatus) {
                this.publishStatus = publishStatus;
            }

            public String getProductionDate() {
                return productionDate;
            }

            public void setProductionDate(String productionDate) {
                this.productionDate = productionDate;
            }

            public String getProductValidity() {
                return productValidity;
            }

            public void setProductValidity(String productValidity) {
                this.productValidity = productValidity;
            }

            public String getProductDesc() {
                return productDesc;
            }

            public void setProductDesc(String productDesc) {
                this.productDesc = productDesc;
            }

            public Object getSource() {
                return source;
            }

            public void setSource(Object source) {
                this.source = source;
            }

            public Object getRemarks() {
                return remarks;
            }

            public void setRemarks(Object remarks) {
                this.remarks = remarks;
            }

            public Object getActivityId() {
                return activityId;
            }

            public void setActivityId(Object activityId) {
                this.activityId = activityId;
            }

            public Object getProductTax() {
                return productTax;
            }

            public void setProductTax(Object productTax) {
                this.productTax = productTax;
            }

            public String getAttributeSpecList() {
                return attributeSpecList;
            }

            public void setAttributeSpecList(String attributeSpecList) {
                this.attributeSpecList = attributeSpecList;
            }

            public String getDiscountPrice() {
                return discountPrice;
            }

            public void setDiscountPrice(String discountPrice) {
                this.discountPrice = discountPrice;
            }

            public String getAttributeSpecPrice() {
                return attributeSpecPrice;
            }

            public void setAttributeSpecPrice(String attributeSpecPrice) {
                this.attributeSpecPrice = attributeSpecPrice;
            }
        }
    }
}
